﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dycox.Workflows.Manipulation;

namespace Dycox.Workflows
{
    public class TransitionOperationArguments
    {
        public TransitionOperationArguments(WorkflowExecutionContext context, StepContext newStep)//, StageStateContract userState)
        {
            if (context == null)
                throw new ArgumentNullException("context");

            _context = context;
            _newStep = newStep;
        }

        private StepContext _newStep;

        public StepContext NewStep
        {
            get { return _newStep; }
        }

        private WorkflowExecutionContext _context;

        public WorkflowExecutionContext Context
        {
            get { return _context; }
        }

    }
}
